package com.webservice.xmloper.managercode;

import java.sql.Timestamp;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import com.webservice.command.utils.TimeStampConvertor;

@XStreamAlias("commandQueryResult")
public class CommandQueryResult {
	private String idcId;  //IDC/ISP经营者ID
	private String commandId;  //管理指令查询指令ID
	private Integer amount;   //管理指令数量
	@XStreamImplicit
	private List<CommandQuery> commands;
	@XStreamConverter(TimeStampConvertor.class)
	private Timestamp timeStamp;
	
	public String getIdcId() {
		return idcId;
	}
	public void setIdcId(String idcId) {
		this.idcId = idcId;
	}
	public String getCommandId() {
		return commandId;
	}
	public void setCommandId(String commandId) {
		this.commandId = commandId;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public List<CommandQuery> getCommands() {
		return commands;
	}
	public void setCommands(List<CommandQuery> commands) {
		this.commands = commands;
	}
	public Timestamp getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(Timestamp timeStamp) {
		this.timeStamp = timeStamp;
	}
}
